from comment.utils.ronglian_sms_sdk import SmsSDK

accId = '8aaf0708804ba563018056c9311f0288'
accToken = '28b9d7cd6e094e978fb8ce6e86076b0d'
appId = '8aaf0708804ba563018056c93237028f'

def send_message(mobile,datas):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    # mobile = '16696372135'
    # datas = ('mjm', '1')
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)

if __name__ == '__main__':
    datas=('mjm','1')
    send_message('16696372135',datas)
